package com.study.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.common.utils.PageUtils;
import com.study.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author yangjin
 * @email 2686843502@qq.com
 * @date 2021-08-15 21:45:03
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询品牌分类数据以树形结构返回
     * @return
     */
    List<CategoryEntity> listCategoryWithTree();

    /**
     * 根据id逻辑删除分类
     * @param catIds
     */
    void delCateNodeByIds(List<Long> catIds);
}

